package com.xtaller.easy.admin.specification;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.*;

/**
 * Created by Taller on 2018/5/8
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value ="创建权限按钮")
public class Auth {
    @ApiModelProperty(value = "菜单id")
    private String menuId;
    @ApiModelProperty(value = "所属父级id")
    private String parentId;
    @ApiModelProperty(value = "权限按钮数据")
    private String[] btns;

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String[] getBtns() {
        return btns;
    }

    public void setBtns(String[] btns) {
        this.btns = btns;
    }
}
